package rolesystem.roles.carry;

import rolesystem.core.RoleAction;
import rolesystem.middle.utilityclasses.MessagePayload;
import rolesystem.roles.KnownEvent;


public class Carrier 
{
	/**
	 * Role identifier.
	 */
	public static final String ROLE_ID="carry.Carrier";	
	

	public static final KnownEvent KE_reqHelp=new KnownEvent("reqHelp", Manager.ROLE_ID, MessagePayload.class);
	
	public static final KnownEvent KE_ackNeed=new KnownEvent("youNeeded", Manager.ROLE_ID);
	
	public static final KnownEvent KE_iAmManagerHere=new KnownEvent("iAmManagerHere", Manager.ROLE_ID,MessagePayload.class);
	
	public static final KnownEvent KE_notNeeded=new KnownEvent("notNeeded", Manager.ROLE_ID);
	
	public static final KnownEvent KE_followMe=new KnownEvent("followMe", Manager.ROLE_ID, MessagePayload.class);
	
	
	public static RoleAction iAmHere(int addressee,MessagePayload position)
	{
		return new RoleAction("iAmHere", addressee,position);
	}
	
	public static RoleAction sendData(int addressee, MessagePayload data)
	{
		return new RoleAction("sendData", addressee, data);
	}
	

}